<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>conning</title>
    <link href="static/css/bootstrap_3.3.7.min.css" rel="stylesheet">
    <link href="static/css/font-awesome.min.css" rel="stylesheet">
    <!-- ECharts单文件引入 -->
    <script src="static/js/echarts-all.js"></script>
    <link href="static/css/conning.css" rel="stylesheet">
    <script>function inverse(){document.getElementsByClassName('col-md-4').className+=' inverse';}</script>
</head>
<body>
<div class="container">

    <!--第一大行-->
    <div class="row">
        <!--真风-->
        <div class="col-xs-12 col-md-4">
            <div class="have-background" id="row-1-col-1-bg">
                <div class="row caption text-center">
                    <p>真风</p>
                </div>
                <!-- 为ECharts准备一个具备大小（宽高）的Dom -->
                <div class="row" id="real-wind-chart" style="height:160px;">
                </div>
                <div class="row">
                <div class="col-md-6">
                    <form class="form-inline">
                        <div class="form-group">
                            <label for="real-wind-direction-input">真风向:</label>
                            <input type="text" class="form-control" style="width:50%;" id="real-wind-direction-input">
                            <span>°</span>
                        </div>
                    </form>
                </div>
                <div class="col-md-6">
                    <form class="form-inline">
                        <div class="form-group">
                            <label for="real-wind-speed-input">真风速:</label>
                            <input type="text" class="form-control" style="width:50%;" id="real-wind-speed-input">
                            <span>kn</span>
                        </div>
                    </form>
                </div>
                </div>
            </div>
        </div>
        <!--经纬度-->
        <div class="col-xs-12 col-md-4">
            <div class="have-background" id="row-1-col-2">
                <div class="row caption text-center">
                    <p>经纬度</p>
                </div>
                <div class="row" id="coordinates">
                </div>
                <div class="row">
                    <div class="col-md-6 text-right">
                        <form class="form-inline" id="longitude">
                            <div class="form-group">
                                <label for="longitude-input">经度:</label>
                                <input type="text" class="form-control" id="longitude-input" style="width:50%;">
                                <span>°</span>
                            </div>
                        </form>
                    </div>
                    <div class="col-md-6 text-left">
                        <form class="form-inline" id="latitude">
                            <div class="form-group">
                                <label for="latitude-input">纬度:</label>
                                <input type="text" class="form-control" id="latitude-input" style="width:50%;">
                                <span>°</span>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

        </div>
        <!--相对风-->
        <div class="col-xs-12 col-md-4">
            <div class="have-background" id="row-1-col-3-bg">
                <div class="row caption text-center">
                    <p>相对风</p>
                </div>
                <div class="row" id="relative-wind-chart" style="height:160px;">
                </div>
                <div class="row">
                <div class="col-md-6">
                    <form class="form-inline">
                        <div class="form-group">
                            <label for="relative-wind-direction-input">相对风向:</label>
                            <input type="text" class="form-control" style="width:48%;"
                                   id="relative-wind-direction-input">
                            <span>°</span>
                        </div>
                    </form>
                </div>
                <div class="col-md-6">
                    <form class="form-inline">
                        <div class="form-group">
                            <label for="relative-wind-speed-input">相对风速:</label>
                            <input type="text" class="form-control" style="width:48%;" id="relative-wind-speed-input">
                            <span>kn</span>
                        </div>
                    </form>
                </div>
                </div>
            </div>
        </div>
    </div>
    <!--第二大行-->
    <div class="row">
        <!--航行速度-->
        <div class="col-xs-12 col-md-4">
            <div class="have-background" id="row-2-col-1-bg">
                <div class="row caption text-center">
                    <p>航行速度</p>
                </div>
                <div class="row" id="relative-speed-container">
                    <div class="col-md-6 text-right">
                        <form class="form-inline">
                            <div class="form-group">
                                <label for="speed-to-land-input">地速</label>
                                <input type="text" class="form-control" id="speed-to-land-input" style="width:50%">
                                <span>kn</span>
                            </div>
                        </form>
                    </div>
                    <div class="col-md-6 text-left">
                        <form class="form-inline">
                            <div class="form-group">
                                <label for="speed-to-water-input">水速</label>
                                <input type="text" class="form-control" id="speed-to-water-input" style="width:50%">
                                <span>kn</span>
                            </div>
                        </form>
                    </div>
                </div>

                <div class="row text-center">
                    <div class="col-md-6">
                        <div id="relative-ground-speed-chart" style="height:120px;">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div id="relative-water-speed-chart" style="height:120px;">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--艏向-->
        <div class="col-xs-12 col-md-4">
            <div class="have-background" id="ship_heading">
                <div class="row caption text-center">
                    <p>艏向</p>
                </div>
                <div class="row">
                <div class="col-md-6" id="water-helm-angle-row">
                    <form class="form-inline">
                        <div class="form-group">
                            <label for="water-helm-angle-input">对水艏向:</label>
                            <input type="text" class="form-control" style="width:50%" id="water-helm-angle-input">
                            <span>°</span>
                        </div>
                    </form>
                </div>
                <div class="col-md-6" id="real-helm-angle">
                    <form class="form-inline">
                        <div class="form-group">
                            <label for="real-helm-angle-input">实际艏向:</label>
                            <input type="text" class="form-control" style="width:50%" id="real-helm-angle-input">
                            <span>°</span>
                        </div>
                    </form>
                </div>
                </div>
                <div class="row" id="course-to-ground">
                    <div class="col-md-6">
                        <form class="form-inline">
                            <div class="form-group">
                                <label for="course-to-ground-input">对地航向:</label>
                                <input type="text" class="form-control" style="width:50%" id="course-to-ground-input">
                                <span>°</span>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="row" id="ship_heading_panel">
                </div>
            </div>
        </div>

        <!--深度-->
        <div class="col-xs-12 col-md-4">
            <div class="have-background" id="row-2-col-3-bg">
                <div class="row caption text-center">
                    <p>深度</p>
                </div>
                <div class="row">
                    <form class="form-inline">
                        <div class="form-group" style="margin-left:30%">
                            <label for="depth-input">深度</label>
                            <input type="text" class="form-control" style="width:120px" id="depth-input">
                            <span>m</span>
                        </div>
                    </form>
                </div>
                <div class="row" id="depth">
                </div>
            </div>
        </div>
    </div>
    <div class="row pull-right">
        <button class="btn btn-default" type="submit" id="button" onclick="inverse()">Button</button>
    </div>

</div>
</div>
<script src="static/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="static/js/jquery.tempgauge.js"></script>
<script src="static/js/conning.js"></script>
</body>
</html>